package com.kymatrix.kycarbon.xsmd.system.server.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kymatrix.kycarbon.xsmd.system.server.model.entity.RoleModuleRelationEntity;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface RoleModuleMapper extends BaseMapper<RoleModuleRelationEntity> {
    List<RoleModuleRelationEntity> selectByRoleIds(@Param("roleIdList") List<String> roleIdList);
    
    void deleteByRoleId(String roleId);

    void deleteByModuleIds(@Param("moduleIds") List<String> moduleIds);
}
